<%--
  Created by IntelliJ IDEA.
  User: wxt
  Date: 16/4/3
  Time: 11:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>这是测试JSP</title>
</head>
<body>
Hello JSP

<jsp:useBean id="myPeopleBean" class="norain.wxt.beans.PeopleBean" scope="application">

</jsp:useBean>
<jsp:setProperty name="myPeopleBean" property="*"></jsp:setProperty>

<div style="width: 300px;height: 300px;background:#69ff6f;color: #ff553c;">
    <span style="display: block;">wo:<%=myPeopleBean.getName()%></span>
   我的名字叫: <jsp:getProperty name="myPeopleBean" property="name"></jsp:getProperty>
</div>
</body>
</html>
